package com.ruoyi.mobile.model.request;

import java.time.LocalDate;
import java.util.List;

public class UserPrescriptionRequest {

    private Integer id;

    private Integer userId;

    private Integer week;

    private LocalDate trainTime;

    private Integer type;

    private Integer weekType;

    private Integer pointId;

    private List<LessonPartBean> lessonPart;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getWeek() {
        return week;
    }

    public void setWeek(Integer week) {
        this.week = week;
    }

    public LocalDate getTrainTime() {
        return trainTime;
    }

    public void setTrainTime(LocalDate trainTime) {
        this.trainTime = trainTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getWeekType() {
        return weekType;
    }

    public void setWeekType(Integer weekType) {
        this.weekType = weekType;
    }

    public Integer getPointId() {
        return pointId;
    }

    public void setPointId(Integer pointId) {
        this.pointId = pointId;
    }

    public List<LessonPartBean> getLessonPart() {
        return lessonPart;
    }

    public void setLessonPart(List<LessonPartBean> lessonPart) {
        this.lessonPart = lessonPart;
    }

    public static class LessonPartBean {
        /**
         * desc : 1231
         * cover : https://qny.bravo.love/video_cover/1_2023010118582547154813
         * lessonList : [{"lessonId":"10"},{"lessonId":"11"}]
         */

        private String title;
        private String cover;
        private Integer itemTime;
        private List<LessonPartBean.LessonListBean> lessonList;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public Integer getItemTime() {
            return itemTime;
        }

        public void setItemTime(Integer itemTime) {
            this.itemTime = itemTime;
        }

        public List<LessonPartBean.LessonListBean> getLessonList() {
            return lessonList;
        }

        public void setLessonList(List<LessonPartBean.LessonListBean> lessonList) {
            this.lessonList = lessonList;
        }

        public static class LessonListBean {
            /**
             * lessonId : 10
             */

            private String lessonId;

            private Integer checkinCount;

            public String getLessonId() {
                return lessonId;
            }

            public void setLessonId(String lessonId) {
                this.lessonId = lessonId;
            }

            public Integer getCheckinCount() {
                return checkinCount;
            }

            public void setCheckinCount(Integer checkinCount) {
                this.checkinCount = checkinCount;
            }
        }
    }

}
